package com.xframe.xdal.core.constant;

/**
 * 功能描述：常量值
 * 创建人：xf
 * 创建时间：2022/10/9
 *
 * @version 1.0
 **/
public class DalConstants {
    /**
     * 分隔符
     */
    public static final String SQL_SEPARATION = ",";

    /**
     * 占位符
     */
    public static final String SQL_PLACE_HOlDER = "?";

    /**
     * 左圆括号
     */
    public static final String SQL_LEFT_PARENTHESIS = "(";

    /**
     * 右圆括号
     */
    public static final String SQL_RIGHT_PARENTHESIS = ")";

    /**
     * 等号
     */
    public static final String SQL_EQUAL = " = ";

    /**
     * values
     */
    public static final String SQL_VALUES = "VALUES";

    /**
     * and
     */
    public static final String SQL_AND = " AND ";

    /**
     * and
     */
    public static final String SQL_OR = " OR ";

    /**
     * order by
     */
    public static final String SQL_ORDER_BY = " ORDER BY ";

    /**
     * group by
     */
    public static final String SQL_GROUP_BY = " group by ";

    /**
     * {}
     */
    public static final String SQL_BRACE = "{}";

    /**
     * 转义占位符
     */
    public static final String SQL_TRAN_PLACE_HOlDER = "\\?";

    /**
     * %
     */
    public static final String SQL_PERCENT = "%";

    /**
     * ;
     */
    public static final String SQL_END = ";";


    public static final String SQL_ADD = "+";

    public static final String SQL_SUB = "-";
}
